package com.ntanh.mealplanner.base.model;

 /**
 * Interface marks class which can be enabled or disabled.
 *
 * Created by Anh Nguyen on 2/24/2015.
 */

public interface Activable {
    /**
     * Property which represents active flag.
     */
    String PROP_ACTIVE = "active";

    /**
     * Check if object is active.
     *
     * @return true when object is active
     */
    boolean isActive();

    /**
     * Set object's active flag.
     *
     * @param active
     *            value of active flag
     */
    void setActive(boolean active);
}
